import java.util.ArrayList;
import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: syyyy
 * Date: 2025-08-07
 * Time: 17:13
 */
public class Test {
    public static void main(String[] args) {
        ArrayList<Integer> list=new ArrayList<>();

    }
    public static void main1(String[] args) {
        MyLinkedList list=new MyLinkedList();
        list.addFirst(1);
        list.addFirst(1);
        list.addFirst(1);
        list.addFirst(2);
//        list.addFirst(2);
//        list.addLast(99);
//        list.addIndex(2,111);
        list.removeAllKey(1);
        list.display();
        list.clear();
        list.display();

    }
}
